<?php
//循环语句
//var_dump($_REQUEST);
$name = $_REQUEST["name"];
$phone = $_REQUEST["phone"];
$all = $phone % 12;
$ress = "";
switch ($all) {
    case 0:
        $ress = "鼠";
         break;
    case 1:
        $ress = "牛";
         break;
    case 2:
        $ress = "虎";
         break;
    case 3:
        $ress = "兔";
         break;
    case 4:
        $ress = "龙";
         break;
    case 5:
        $ress = "蛇";
         break;
    case 6:
        $ress = "马";
         break;
    case 7:
        $ress = "羊";
         break;
    case 8:
        $ress = "猴";
         break;
    case 9:
        $ress = "鸡";
         break;
    case 10:
        $ress = "狗";
        break;
    default:
         $ress = "猪";    
        break;
}
echo "你的配偶属相是$ress";
echo "<a href='6.html'>再测一次</a>";